-- GENERATED SPELL FOR [Nether Maiden] --


function spell0_4679(pUnit, Event) --@Lash of Pain,n/a--
pUnit:FullCastSpellOnTarget(7816,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4679', 0, 1)
end

function Sorts_4679(pUnit, Event)
local choix_sorts_4679 = math.random(0, 0)
if choix_sorts_4679 == 0 then
pUnit:RegisterEvent('spell0_4679', 1, 1)
end
end

function mob4679_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4679', math.random(1500, 3000), 1)
end

function mob4679_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4679_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4679_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4679, 1, 'mob4679_Action')
RegisterUnitEvent(4679, 2, 'mob4679_Leave')
RegisterUnitEvent(4679, 3, 'mob4679_Kill')
RegisterUnitEvent(4679, 4, 'mob4679_Die')
